using System;
using Volo.Abp.Application.Dtos;

namespace Acme.BookStore.FormWhxDto.StorehouseDto
{
    public class WarehouseOperationLogDto : AuditedEntityDto<Guid>
    {
        /// <summary>
        /// 操作类型
        /// </summary>
        public string OperationType { get; set; }

        /// <summary>
        /// 操作人
        /// </summary>
        public string Operator { get; set; }

        /// <summary>
        /// 操作时间
        /// </summary>
        public DateTime OperationTime { get; set; }

        /// <summary>
        /// 操作描述
        /// </summary>
        public string Description { get; set; }

        /// <summary>
        /// 关联的仓库ID
        /// </summary>
        public Guid WarehouseId { get; set; }

        /// <summary>
        /// 仓库编码
        /// </summary>
        public string WarehouseCode { get; set; }

        /// <summary>
        /// 仓库名称
        /// </summary>
        public string WarehouseName { get; set; }
    }

    public class WarehouseOperationLogQueryDto : PagedAndSortedResultRequestDto
    {
        /// <summary>
        /// 操作类型
        /// </summary>
        public string? OperationType { get; set; }

        /// <summary>
        /// 操作人
        /// </summary>
        public string? Operator { get; set; }

        /// <summary>
        /// 操作时间范围开始
        /// </summary>
        public DateTime? OperationTimeStart { get; set; }

        /// <summary>
        /// 操作时间范围结束
        /// </summary>
        public DateTime? OperationTimeEnd { get; set; }

        /// <summary>
        /// 仓库ID（用于过滤）
        /// </summary>
        public Guid? WarehouseId { get; set; }
    }
} 